//
//  BiDocListCell.m
//  TrunkIndustryManageSystem
//
//  Created by 李璐西 on 15/5/5.
//  Copyright (c) 2015年 李璐西. All rights reserved.
//

#import "BiDocListCell.h"
#import "BiCarLiscenceComEntity.h"
#import "BiCarLicense.h"

@interface BiDocListCell(){


    __weak IBOutlet UILabel *_labVin;
    
    __weak IBOutlet UILabel *_labVip;
    __weak IBOutlet UILabel *_labSaleCounselar;
}
@end

@implementation BiDocListCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)carliscenceDAtaFill:(BiCarLiscenceComEntity *)cEntity{
    
    BiCarLicense * carl = cEntity.Carlisce;
    
    _labVin.text = !carl.vin?@"":carl.vin;
    _labVip.text = !carl.memberName?@"":carl.memberName;
    _labSaleCounselar.text = !carl.saleAdvisorName?@"":carl.saleAdvisorName;
    
}

@end
